package org.bing.engine.core.domain;

public class ControllerGroup extends AbstractEntity {
    private static final long serialVersionUID = 1978L; 
    private ControllerGroup parent;
    private String code;// ex:000-000-001, max 5 level, len 40
    private String name;

    public String toString() {
        return code + ":" + name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
 
    public ControllerGroup getParent() {
        return parent;
    }

    public void setParent(ControllerGroup parent) {
        this.parent = parent;
    }
}
